home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / SCSI Samples 1.0 / SCSI Driver Example 06⁄07 ƒ / SCSIDriver.Make < prev    next >
Encoding:
Text File  |  1994-06-16  |  827 b   |  42 lines  |  [TEXT/MPS ]

  1. # Makefile for the Apple SCSI Driver Sample
  2. #
  3. #   Copyright (C) Apple Computer, Inc., 1986-1991.  All rights reserved.
  4. #
  5. #
  6.  
  7. DrvrObj        = disk.a.o disk.c.o
  8. DriverExample  = SCSI Driver Example
  9. DrvrVersion    = 1
  10.  
  11. SCSIDriver ƒ "{DriverExample}"
  12.  
  13. "{DriverExample}" ƒƒ {DrvrObj}            # build the scsi driver
  14.     link                                 ∂
  15.         -w                                 ∂
  16.         -o "{DriverExample}"             ∂
  17.         -t rsrc                         ∂
  18.         -c RSED                            ∂
  19.         -rt "scsi=128"                    ∂
  20.         -sn "Main=%A5Init"                ∂
  21.         -sn "_DataInit=%A5Init"            ∂
  22.         -sn "INTENV=%A5Init"            ∂
  23.         {DrvrObj}                        ∂
  24.         "{Libraries}Interface.o"        ∂
  25.             "{Libraries}Runtime.o"        
  26.     :cksum "{DriverExample}" {DrvrVersion}
  27.  
  28. CFLAGS        = -b
  29. REZFLAGS    = -a
  30.  
  31. disk.c.o        ƒ    disk.c
  32.  
  33. disk.a.o        ƒ    "{Aincludes}"SysEqu.a
  34. disk.a.o        ƒ    "{Aincludes}"Traps.a
  35. disk.a.o        ƒ    disk.a
  36.  
  37. .c.o    ƒ    .c
  38.     c         {CFLAGS} {Default}.c
  39.     
  40. .a.o    ƒ    .a
  41.     asm     {ASMFLAGS} {Default}.a
  42.